package com.hupun.service;

import java.util.Collection;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.bstek.dorado.annotation.DataProvider;
import com.hupun.mybatis.mapper.BandMapper;
import com.hupun.mybatis.pojo.ProductBand;

@Component
public class BandService {
	@Resource
	private BandMapper bandMapper;
	@DataProvider
	public Collection<ProductBand> getAllBand() {
		Collection<ProductBand> bands = bandMapper.getAllBand();
		return bands;
	}
}
